package com.tx.admin.modules.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.validation.constraints.NotBlank;

import com.alibaba.excel.annotation.ExcelProperty;
import com.tx.admin.core.entity.SuperEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@Entity
@ApiModel("异常实体")

public class ExceptionEntity extends SuperEntity{

	@NotBlank
	@ApiModelProperty("标题")
	@ExcelProperty(value="标题")
	private String title;
	
	@NotBlank
	@ApiModelProperty("正文")
	@Column(columnDefinition="text")
	@ExcelProperty(value="正文")
	private String content;

	@ApiModelProperty("流程状态")
	@ExcelProperty(value="流程状态")
	private String flowStatus;
}
